//
//  SHHeaderCollectionCell.m
//  UI_CarHome
//
//  Created by dllo on 15/11/9.
//  Copyright (c) 2015年 沈浩. All rights reserved.
//

#import "SHHeaderCollectionCell.h"
#import "SHHandle.h"

@implementation SHHeaderCollectionCell

- (void)dealloc
{
    [_label release];
    [_nowView release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    
    self = [super initWithFrame:frame];
    if (self) {
        
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, WIDTHS, HEIGHTS - 2 * HEI)];
        [self.contentView addSubview:self.label];
        [_label release];
        self.label.textAlignment = NSTextAlignmentCenter;
        
        self.nowView = [[UILabel alloc] initWithFrame:CGRectMake(0, HEIGHTS - 2 * HEI, WIDTHS, 2 * HEI)];
        [self.contentView addSubview:self.nowView];
        [_nowView release];
        self.nowView.backgroundColor = [UIColor redColor];
        
       
    }
    return self;
}
@end
